

#ifndef _SHELL_RESFIGHTSTATI_MESSAGE_H_
#define _SHELL_RESFIGHTSTATI_MESSAGE_H_

#include "Message.h"
#include "Beans.h"
using namespace std;

class ResFightStatiMessage : public Message
{
	public:
	ResFightStatiMessage();
	~ResFightStatiMessage();
	void reset();
	ResFightStatiMessage* clone();
	static const int _ID;
	//每小时战斗次数
	int16 fightNum;
	//平均战斗时长
	int8 fightTime;
	//胜率
	int8 victorRate;
	//装被掉率
	int8 equipRate;
	//每小时获得经验
	int32 expHours;
	//每小时获得金钱
	int32 moneyHours;
	//每小时获得真气
	int32 zhenqiHours;
	
	bool read_from(ByteBuf& buf);
    bool write_to(ByteBuf& buf);
    int getId();
};

#endif
